-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-5413 Handle flaky tests #2395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we only enable flakey in CI and not locally? I worry having it run by default locally will make it more difficult to debug test failures.
async def test_timeout_in_multi_batch_bulk_write(self): | ||
if sys.platform != "linux": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we do this only in Evergreen CI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated this and added logic/docs around enabling and disabling the flaky decorator.
The goal was to get the following to pass on multiple restarts:
Since these are the most flaky builds in the waterfall currently. The current build has passed three times for the above variants.